<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
</head>

<body>
    <table border="1" cellspacing="0" style="background: url(./微信图片_20240327125706.jpg);">
        <caption>成绩表</caption>
        <tr>
            <th>姓名</th>
            <th>语文</th>
            <th>数学</th>
            <th>总分</th>
        </tr>
        <tr>
            <td>李小璐</td>
            <td>60</td>
            <td>58</td>
            <td>118</td>
        </tr>
        <tr>
            <td>安可可</td>
            <td>80</td>
            <td>20</td>
            <td>100</td>
        </tr>
    </table>
    <br>
    <br>

    <table border="1" width="250" height="200" cellspacing="0" style="background: url(./微信图片_20240327125706.jpg);">
        <tr>
            <td rowspan="2">1占两行</td>
            <td colspan="2">2占两列</td>
            <td rowspan="3" colspan="2">4占三行两列</td>
        </tr>
        <tr>
            <td>2</td>
            <td>3</td>
        </tr>
        <tr>
            <td rowspan="2">1占两行</td>
            <td>2</td>
            <td>3</td>
        </tr>
        <tr>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td colspan="3">1占三列</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td colspan="5">1</td>
        </tr>
    </table>
    <br>
    <br>
    <table border="1" cellspacing="0" style="background: url(./微信图片_20240327125706.jpg);">
        <thead>
            <caption>复杂完整的成绩表</caption>
            <!--放表格题行-->
            <tr>
                <th rowspan="2">姓名</th>
                <th colspan="2">通识课</th>
                <th colspan="3">专业课</th>
                <th rowspan="2">总分</th>
            </tr>
            <tr>
                <th>英语</th>
                <th>数学</th>
                <th>UI设计</th>
                <th>网页设计</th>
                <th>程序设计</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <th>张三</th>
                <td>60</td>
                <td>70</td>
                <td>80</td>
                <td>90</td>
                <td>80</td>
                <td>380</td>
            </tr>
            <tr>
                <th>张三</th>
                <td>60</td>
                <td>70</td>
                <td>80</td>
                <td>90</td>
                <td>80</td>
                <td>380</td>
            </tr>
            <tr>
                <th>张三</th>
                <td>60</td>
                <td>70</td>
                <td>80</td>
                <td>90</td>
                <td>80</td>
                <td>380</td>
            </tr>
            <tr>
                <th>张三</th>
                <td>60</td>
                <td>70</td>
                <td>80</td>
                <td>90</td>
                <td>80</td>
                <td>380</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <th>平均</th>
                <td>60</td>
                <td>70</td>
                <td>80</td>
                <td>90</td>
                <td>80</td>
                <td>380</td>
            </tr>
        </tfoot>
    </table>
</body>

</html>